package com.example.tutormanagement.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * &#064;Date: 23/06/14-18:40
 * &#064;Description: 同源
 */
@Controller
public class pageController {

    @RequestMapping("/login")
    public String toLogin() {
        return "login";
    }

    @GetMapping("/index")
    public String toTutor() {
        return "index";
    }

}
